"""
5.5.4_类方法级别
"""
import pytest
class Test():
    def setup_method(self):
        print("这是方法级别的前置内容")
    def teardown_method(self):
        print("这是方法级别的后置内容")
    def test_001(self):
        print("用例001")
    def test_002(self):
        print("用例002")

if __name__ == '__main__':
    pytest.main(['-v', '-s', '类方法级别.py'])



